<?php

/**
 * Patrocinador form.
 *
 * @package    form
 * @subpackage Patrocinador
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class PatrocinadorForm extends BasePatrocinadorForm
{
	public function configure()
	{
		parent::configure();

		$this->widgetSchema['nome'] = new sfWidgetFormInput(
			array(),
			array(
				'size' => "55",
				'maxlength' => "255",
				'class' => 'required'
			)
		);

		$this->widgetSchema['url'] = new sfWidgetFormInput(
			array(),
			array(
				'size' => "55",
				'maxlength' => "255"
			)
		);

		$this->widgetSchema->setLabels(array(
			'id_patrocinador' => '#ID',
	      	'id_usuario'      => 'Usuário',
	      	'nome'            => 'Nome',
	      	'url'             => 'Url',
	      	'status'          => 'Status'
		));
	}
}